import {post,post2,get,get2} from './useraxios'
import api from '@/api'
const Login = post(api.Kevin.Login) //登录自己的接口
const role = get(api.Kevin.role) //查询所有角色接口
const people = post(api.Kevin.people) //查询所有人员
const adduser = post(api.Kevin.adduser)  //注册
const removeuser = get2(api.Kevin.removeuser)  //删除人
const inquire = post(api.Kevin.inquire)  //更具角色查询
const permission = post(api.Kevin.permission)  //修改权限
const change_information = post(api.Kevin.change_information) //修改用户信息
const adminforget = post(api.Kevin.adminforget) //忘记密码
const getCode = post(api.Kevin.getCode)  //获取验证码
const menu = get(api.Kevin.menu)  //菜单
export {
    Login,
    role,
    people,
    adduser,
    removeuser,
    inquire,
    permission,
    change_information,
    adminforget,
    getCode,
    menu
}